﻿using System;

namespace sametexts_u8
{
    using SanlieHash;
    internal class SecurityTool
    {
        public static string EncryptByAES(string content)
        {
            return FastAES.Encrypt(content, U8DB.Config.ReadGobalValue<string>("16位安全码"));
        }
        public static string DecryptByAES(string content)
        {
            return FastAES.Decrypt(content, U8DB.Config.ReadGobalValue<string>("16位安全码"));
        }
    }
}
